/*
 * TConstructor.cpp
 *
 *  Created on: Jun 24, 2014
 *      Author: brightchen
 */

#include "TConstructor.h"

namespace std
{

  TConstructor::TConstructor ()
  {
    //call another construct only create a temporary instance and then release it.
    //so it is useless
    TConstructor( "use default name." );
  }

  TConstructor::TConstructor ( bool mark) : TConstructor( string("use default name.") )
  {
    //it's not same like java, can't use this()
    //this( "use default name." );
  }

  TConstructor::TConstructor( string name )
  {
    this->name = name;
  }

  TConstructor::~TConstructor ()
  {
    // TODO Auto-generated destructor stub
  }

} /* namespace std */
